package top.v5it.japi.plus.example.jdbc;

import cn.hutool.extra.spring.EnableSpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.jdbc.repository.config.EnableJdbcAuditing;
import org.springframework.data.jdbc.repository.config.EnableJdbcRepositories;
import top.v5it.japi.plus.core.spring.web.interceptor.EnableJapiWrapper;
import top.v5it.japi.plus.log.EnableJapiOperLog;
import top.v5it.japi.plus.support.limit.EnableJapiLimit;

/**
 * jdbc example
 */
@EnableCaching
@EnableSpringUtil
@EnableJdbcAuditing
@EnableJapiOperLog
@EnableJapiLimit
@EnableJapiWrapper
@EntityScan(value = {"top.v5it.japi.plus.example.jdbc"})
@EnableJdbcRepositories(value = {"top.v5it.japi.plus.example.jdbc"})
@SpringBootApplication
public class App {

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
